<extend name="Public:base" />
<block name="title"><title>心e购-订单支付</title></block>
<block name="body">
	<header class="mui-bar mui-bar-nav">
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		<h1 class="mui-title">订单支付</h1>
	</header>
	<div class="mui-content">
		<div class="ddzf_box">
			<div class="zf_sp_xx">
				<div class="zf_sp_title">
					<i class="mui-icon-extra mui-icon-extra-hotel"></i>
					{$order.store_name}
				</div>
				<div class="zf_sp_con">
					<ul class="dis_flex sp_con">
						<li>
							<div class="img_box">
								<img src="{$order_goods.goods_image}"/>
							</div>
						</li>
						<li class="flex1">
							<div class="mui-ellipsis-2 sp_bt">{$order_goods.goods_name}</div>
							<div class="mui-ellipsis-2 sp_bt"><p>订单号：<span>{$order.order_sn}</span><br />支付方式：<span>{$order.payment_code}</span></p></div>
							<!-- <div class="sp_info"><p class="mui-ellipsis-2">分类1:套餐1;分类2:分类2;分类3:分类3;</p></div> -->
						</li>
						<li class="mui-text-right">
							<p>
							<if condition="$order_goods.goods_pay_price gt 0">￥{$order_goods.goods_pay_price}</if>
							<if condition="$order_goods.point_num gt 0">
								<if condition="$order_goods.goods_pay_price gt 0"><br /></if>
								积分：{$order_goods.point_num}
							</if>
							<if condition="$order_goods.coin_num gt 0">增值币：{$order_goods.coin_num}</if>
							</p>
							<p><span>x{$order_goods.goods_num}</span></p>
						</li>
					</ul>
				</div>
				<div class="zf_fs">
					<div class="zf_sp_title">
						选择钱包
					</div>
					<div class="mui-card1">
						<form class="mui-input-group">
							<div class="mui-input-row mui-checkbox">
								<label>积分账户余额：{$integral[integral5]+$integral[integral2]+$integral[integral1]}</label>
								<input name="checkbox1" value="" type="checkbox">
							</div>
							<div class="mui-input-row mui-checkbox">
								<label>可用余额：{$integral.integral3|default=0.00}</label>
								<input name="checkbox1" value="" type="checkbox">
							</div>
							<div class="mui-input-row mui-checkbox">
								<label class="color_red">(同时勾选时，系统将优先使用消费积分，不足时扣除消费账户)</label>
							</div>
							<div class="mui-input-row">
								<label>交易密码</label>
								<input type="text" placeholder="请输入交易密码">
							</div>
							<div class="mui-input-row">
								<button type="submit" class="mui-btn mui-btn-block mui-btn-danger">确认支付</button>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
</block>
<block name="script">
	<script>
		mui('.mui-input-group').on('change', 'input', function() {
			var valu = this.checked?"true":"false";
			this.value = valu;
		});
	</script>
</block>